package com.lancoo.ccas53.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.List;

/**
 * <p>
 * 分组上课
 * </p>
 *
 * @author quin.song
 * @since 2024-06-06
 */
@Data
@Accessors(chain = true)
@TableName("sub_class")
@ApiModel(value = "SubClass对象", description = "分组上课")
public class SubClass implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    private Integer taskId;

    @ApiModelProperty("行政班id")
    private String classId;

    @ApiModelProperty("分组名")
    private String subName;

    @ApiModelProperty("行政班名")
    private String className;

    @ApiModelProperty("课程id")
    private String courseId;

    @ApiModelProperty("课程名")
    private String courseName;

    @ApiModelProperty("学院id  开课单位")
    private String baseCollegeId;

    private String collegeName;

    private String gradeId;

    @ApiModelProperty("所属年级")
    private String gradeName;

    @ApiModelProperty("分班标识，uuid,与教学班一致")
    private String uniqueShiftSign;

    @TableField(exist = false)
    @ApiModelProperty(value = "教学班名")
    private String teachingClassNames;

    @TableField(exist = false)
    @ApiModelProperty(value = "上课组列表")
    private List<SubClassGroup> subClassGroups;

    @TableField(exist = false)
    @ApiModelProperty(value = "上课组列表")
    private List<List<SubClassGroup>> subClassGroupList;
}
